<extend name='Layout/index' />

<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">系统用户管理</li>
</block>

<block name='page_header'>
	<h1>
		系统用户管理
		<small>
			<i class="icon-double-angle-right"></i>
			 信息查询
		</small>
	</h1>
</block>
<block name='main_content'>
	<table class="table table-striped table-bordered table-hover">
	<thead>
		<tr align="left" bgcolor="#ccc">
			<th>Id</th>
			<th>用户名</th>
			<th>真实姓名</th>
			<th>角色</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name='list' id='vo'>
		<tr>
			<td><{$vo.id}></td>
			<td><{$vo.username}></td>
			<td><{$vo.name}></td>
			<!-- <td><?php echo ($vo['sex'] == 0)?'女':'男';?></td> -->
			<td>
				<volist name="vo.role" id="role">
					<span style="color:#999"><{$role}></span>&nbsp;
				</volist>
			</td> 
			<td>
				<a href="<{:U('Manage/del', array('id'=>$vo['id']))}>">删除</a>
				<a href="<{:U('Manage/edit', array('id'=>$vo['id']))}>">修改</a>
				<a href="<{:U('Manage/rolelist', array('id'=>$vo['id']))}>">分配角色</a>
			</td>
		</tr>  
		</volist>
	</tbody>
	</table>
</block>